<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'xiuGaiZhiCheng.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script type="text/javascript" src="qiang/zgq/js/jquery-1.8.3.js"></script>

	<link rel="stylesheet" href="qiang/zgq/css/cal.css"  type="text/css" />
	<script src="qiang/zgq/js/cal.js" type="text/javascript" charset="gbk"></script>
	<script type="text/javascript">
		$(function(){
			$("table tr:odd").css("background-color","#FFFFFF");
			$("[type='button']").click(function(){
				window.location.href="findZhiChengByCondition";
			});
			
			
			
		});
	</script>
  </head>
  
  <body>

	<div id=all
		style="width:1050px ;height: 2000px;background-color: #C9C9C9;margin: 0 auto;position:relative;top:30px;">
		
		<div id="header"
			style="width: 1030px; height:100px;position:absolute;left: 10px;top:0px;background-color:white;">
			<%@ include file="header.jsp"%>
		</div>
		<div id="left"
			style="height: 1000px;width: 200px; position:absolute;left: 10px;top:100px;background-color:white;">
			<%@ include file="left_use.jsp"%>
		</div>
		
		<div id="right"
			style="height: 1000px;width: 810px; ;position:absolute;left: 230px;top:100px;
			background-color:#F4F4F4;">
			<div id="h11" style="width:782px;">
			
			<div id="d1">
        	<span>系统设置 >> 职称设置 >> 修改职称信息</span>
        </div>
    	<div id="d2">
        	<form action="updateZhiCheng" method="post">
            <table>
            	<tr>
        		<td>职称编码：</td><td>
        			<input type="hidden" value="${zhichengbiao.id}" name="zhichengbiao.id"/>
        			<input type="text" value="${zhichengbiao.code}" name="zhichengbiao.code"/>
        		</td>
            	</tr>
                <tr>
            		<td>职称名称：</td><td><input type="text" value="${zhichengbiao.zhichengname}" name="zhichengbiao.zhichengname"/></td>
                </tr>
           		<tr>
                	<td> 所属部门:</td><td>
						<select id="sele"  name="deptId" style="width: 188px;height: 25px;text-align: center;">
							<option value="0">--请选择--</option>
							<c:forEach items="${lisDepts}" var="i">
								<option <c:if test="${i.id==deptId}">selected</c:if> value="${i.id}">${i.dname}</option>
							</c:forEach>
						</select>
					</td>
                </tr>
               <tr> 
                    <td>职位描述：</td><td><textarea id="u243_input" name="zhichengbiao.describe">${zhichengbiao.describe}</textarea></td>
               </tr>
           		<tr>
           			<td>备注：</td><td><textarea id="u244_input" name="zhichengbiao.remark">${zhichengbiao.remark}</textarea></td>
                </tr>
                <tr>
           			<td>是否启用：</td><td><input id="u247_input" type="checkbox" name="zhichengbiao.status"/></td>
                </tr>
                <tr>
                	<td>
           				<span> <input type="submit" value="保存"/></span></td>
                    <td>
          				<span> <input type="button" value="返回"/></span>
                	</td>
                </tr>
                </table>
            </form>
        </div>
			
			
			</div>
		</div>
		
		
	</div>
	
  </body>
</html>
